-- GENERATED SPELL FOR [Mariner Keenstar] --


function spell0_25054(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25054', 5339, 1)
end

function Sorts_25054(pUnit, Event)
local choix_sorts_25054 = math.random(0, 0)
if choix_sorts_25054 == 0 then
pUnit:RegisterEvent('spell0_25054', 1, 1)
end
end

function mob25054_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25054', math.random(1500, 3000), 1)
end

function mob25054_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25054_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25054_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25054, 1, 'mob25054_Action')
RegisterUnitEvent(25054, 2, 'mob25054_Leave')
RegisterUnitEvent(25054, 3, 'mob25054_Kill')
RegisterUnitEvent(25054, 4, 'mob25054_Die')
